{
	template:`
    <m-page @back="back" :title="param.title">
        <m-top></m-top>
        <m-title>{{param.title}}
			<template #action>
			</template>
        </m-title>
		<m-top></m-top>
		<m-list ref="list" :url="url" :params="params" :bottom="0" :search="search">
			<template #item="{item}">
				<m-card join>
					<div class="flex padding-sm align-center">
                        <div class="cu-tag radius" :class="'bg-'+item.color">{{item.name}}</div>
						<div class="flex-sub padding-lr-sm">
						    <span>{{item.tel}}</span>
						    <div class="text-sm text-gray padding-top-xs">{{item.address}}</div>
						</div>
						<div v-if="selectOid==item.oid" class="cu-tag radius bg-blue light">已选</div>
						<m-button v-else @click="selectStore(item)" size="sm">选择</m-button>
					</div>
				</m-card>
			</template>
		</m-list>
    </m-page>
	`,
	props: ['param','parentVue'],
	data:function(){
		return {
            url:'action/base/storeInfo/getList',
            params:{},
            search:[
                {title:'名称',name:'name@like',input:'text'}
            ],
            selectOid:''
		};
	},
	mounted(){
	    this.selectOid=this.param.selectOid;
	},
	methods:{
	    selectStore:function(store){
	        this.back(true,store);
	    }
	}
}